"""
LEGB
"""
g01 = "ok"
count = 0


def fun01():
    l01 = 100  # 局部变量
    print(l01)
    global g01
    g01 = "no"
    global count
    count += 1
    print(g01)
    print("已经调用了%d次这个函数" % count)


fun01()
print(g01)
fun01()
fun01()
